import './assets/main.scss'

import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import locale from 'element-plus/dist/locale/zh-cn.js'
import router from './router'
//导入pinia
import { createPinia } from 'pinia'
import { createPersistedState } from 'pinia-persistedstate-plugin'
const app=createApp(App)
const pinia=createPinia()
const persistedstate=createPersistedState()
pinia.use(persistedstate)
app.use(ElementPlus,{locale}).use(router).use(pinia).mount('#app')

